package test02;

public class ThreadTset extends Thread {
	@Override
	public void run() {
		for (int i = 0; i < 20; i++) {
			System.out.println((i+1)+".您好，来自线程"+Thread.currentThread().getName());
		}
	}
	public static void main(String[] args) {
		Thread thread=new ThreadTset();
		thread.start();
		Thread thread2=new ThreadTset();
		thread2.start();
	}

}
